package cn.com.dhcc.turbo.entity.api;

import java.io.Serializable;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("to")
public class RouteEntry implements Serializable {
	private static final long serialVersionUID = 2439003494954039692L;
	
	/**
	 * 节点代码，必填项
	 */
	@XStreamAlias("orderId")
	private String orderId;
	@XStreamAlias("datatype")
	private String datatype;
	/**
	 * 业务编码，选填项，编码规则请参考业务编码规范
	 */
	@XStreamAlias("auditor")
	private String auditor;
	@XStreamAlias("adaptercode")
	private String adaptorcode;
	
	/**
	 * 是否加密
	 */
	@XStreamAlias("encrypt")
	private String encrypt;
	
	/**
	 * 是否压缩
	 */
	@XStreamAlias("compress")
	private String compress;
	
	
	@XStreamAlias("sendTime")
	private String sendTime;

	
	public String getEncrypt() {
		return encrypt;
	}
	public void setEncrypt(String encrypt) {
		this.encrypt = encrypt;
	}
	/**
	 * 节点代码，必填项
	 */
	@XStreamAlias("nodecode")
	private String nodecode;

	
	
	public String getCompress() {
		return compress;
	}
	public void setCompress(String compress) {
		this.compress = compress;
	}
	public String getNodecode() {
		return nodecode;
	}
	
	
	public void setNodecode(String nodecode) {
		this.nodecode = nodecode;
	}
	
	public String getOrderId() {
		return orderId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	
	
	public String getDatatype() {
		return datatype;
	}
	public void setDatatype(String datatype) {
		this.datatype = datatype;
	}
	public String getAuditor() {
		return auditor;
	}
	public void setAuditor(String auditor) {
		this.auditor = auditor;
	}
	public String getSendTime() {
		return sendTime;
	}
	public void setSendTime(String sendTime) {
		this.sendTime = sendTime;
	}
	
	
	public String getAdaptorcode() {
		return adaptorcode;
	}
	public void setAdaptorcode(String adaptorcode) {
		this.adaptorcode = adaptorcode;
	}
	@Override
	public String toString() {
		return "RouteEntry [orderId=" + orderId + ", datatype=" + datatype
				+ ", auditor=" + auditor + ", adaptorcode=" + adaptorcode
				+ ", encrypt=" + encrypt + ", compress=" + compress
				+ ", sendTime=" + sendTime + ", nodecode=" + nodecode + "]";
	}
	
    
}
